package com.roper.yygh.hosp.repository;

import com.roper.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * Description:
 * Date:      2021/11/22 19:04
 * author:    LPH
 * version:   V1.0
 */
@Repository
public interface DepartmentRepository extends MongoRepository<Department, String> {
    Department getDepartmentByDepcodeAndHoscode(String depcode, String hosCode);
}
